package com.bjx.flow.mmx.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @desc: 流程分支数据实体
 * @author: liushuai
 * @date: 2023/05/26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("mmx_flow_branch")
@Schema(title = "FlowBranch",description = "流程分支")
public class MmxFlowBranchEntity {
      /**
      * 分支ID
      */
      @TableId(type = IdType.AUTO)
      @Schema(title = "branchId",description = "分支ID")
      private  Long branchId; 
      
      /**
      * 实例ID
      */
      @Schema(title = "instanceId",description = "实例ID")
      private  Long instanceId; 
      
      /**
      * 节点ID
      */
      @Schema(title = "nodeId",description = "节点ID")
      private  String nodeId;
      
      /**
      * 分支状态(1、进行中 2、终止 3、等待)
      */
      @Schema(title = "branchStatus",description = "分支状态(1、进行中 2、终止 3、等待)")
      private  Integer branchStatus;
      
}